﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IRealize
{
    public interface IConfig_Major_Zw
    {
        public Task<List<Entity.Config_Major_Zw>> select(string sqlserver);
        public Task<int> Add(string name, string sqlserver);
        public Task<int> Delete(string id, string sqlserver);
        public Task<int> Upd(string id, string name, string sqlserver);
        public Task<Entity.Config_Major_Zw> GetById(string id, string sqlserver);
    }
}
